package com.xiaohai.big_event_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaohai.big_event_system.projo.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-01-15
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    User findByUserName(String username);

    void add(String username, String password);
}
